EVE_BUILD = $$(EVE_BUILD)

!isEmpty(EVE_BUILD) {
	message(eve build)
	include(../Global.pri)
} else {
	CONFIG += debug_and_release build_all
}


win32:QMAKE_CXXFLAGS_WARN_ON = /W4
win32:QMAKE_CXXFLAGS += /wd4244

Debug|Win32 {
	win32:QMAKE_CXXFLAGS += /MDd /RTC1 /GS
}

Release|Win32 {
	win32:QMAKE_CXXFLAGS += /MD /Zi /Ot /GS
}

win32:QMAKE_LFLAGS_DEBUG += /NODEFAULTLIB:LIBCMTD /ignore:4049 /ignore:4217 /ignore:4221
win32:QMAKE_LFLAGS_RELEASE += /NODEFAULTLIB:LIBCMT /ignore:4049 /ignore:4217 /ignore:4221 /DEBUG /OPT:REF /OPT:ICF

win32 {
	!contains(QMAKE_HOST.arch, x86_64) {
		win32:QMAKE_LFLAGS_DEBUG += /MACHINE:x86
		win32:QMAKE_LFLAGS_RELEASE += /MACHINE:x86
	}
}
